class CreateVariations < ActiveRecord::Migration
  def self.up
	  create_table "variations", :force => true do |t|
	    t.column "name", :text, :null => false
	    t.column "price_effect", :decimal, :precision => 8, :scale => 2, :default => 0
      t.column "variable_id", :integer, :null => false
      t.column "variable_type", :string, :null => false
	  end
  end

  def self.down
    drop_table "variations"
  end
end